﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sudoku
{
	public class SudokuGroup
	{
		private SudokuValue[] m_Values;

		public SudokuGroup(int size)
		{
			if(size < 4)
				throw new Exception("size cannot be lower than 4");
			if (size > 64)
				throw new Exception("size cannot be greater than 64");
			m_Values = new SudokuValue[size];
		}

		public SudokuValue this[int index] { get { return m_Values[index]; } set { m_Values[index] = value; } }
	}
}
